package com.taoyibao.hongcanting.model;

/**
 * @author TangAnna
 * @description: 服务端的任务
 * @date :${DATA} 16:05
 */
public class TaskModel {

    /**
     * memberId : 2018121100000003
     * gift_id : 3
     * status : 1
     * create_at : 1547110813
     * update_at : 1547110813
     * amount : 100
     * no : gift15471108138bf0ed9
     * content : 唱的真好
     * type : 大屏
     * desk_code :
     * handle_memberId :
     * gift_name : 1
     * gift_order_id : 8
     */

    public String memberId;
    public String gift_id;
    public int status;
    public long create_at;//创建时间
    public long update_at;//更新时间
    public double amount;//订单金额
    public String no;
    public String content;//礼物类型为“大屏”时，大屏内容
    public String type;//礼物类型
    public String desk_code;//桌位id
    public String handle_memberId;
    public String gift_name;//礼物名字，礼物类型为“大屏”时，这里为“时长”，单位：分钟
    public String gift_order_id;
//    public long countTime;//当前时间和发送时间的差值
    //计时器显示的结果
    public String timer;

    @Override
    public String toString() {
        return "TaskModel{" +
                "memberId='" + memberId + '\'' +
                ", gift_id='" + gift_id + '\'' +
                ", status=" + status +
                ", create_at=" + create_at +
                ", update_at=" + update_at +
                ", amount=" + amount +
                ", no='" + no + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", desk_code='" + desk_code + '\'' +
                ", handle_memberId='" + handle_memberId + '\'' +
                ", gift_name='" + gift_name + '\'' +
                ", gift_order_id='" + gift_order_id + '\'' +
                '}';
    }
}
